package org.heng.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;
import org.heng.dao.entity.SeatDO;
import org.heng.dto.SeatDetailsDTO;

import java.util.List;

public interface SeatMapper extends BaseMapper<SeatDO> {
    List<SeatDetailsDTO> selectGroupedCount(@Param("name") String name, @Param("regionList") List<String> regionList);
    Integer selectSeat(@Param("name") String name, @Param("codeList") List<String> codeList);
    void cancelSeat(@Param("name")String name, @Param("region")String region,@Param("codeList") List<String> codeList);
}
